package com.maochang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maochang.pojo.PsFunction;
import com.maochang.pojo.PsRolePremission;
import com.maochang.pojo.PsUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper extends BaseMapper<PsRolePremission>{
    //一个参数不用加 注解
    List<String> seAchPermCode (@Param("roleId") Integer roleId);

    List<PsFunction> searchByParentId(Integer ParentId);
}
